package com.hongyun.sdk.customer.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class HYOrderCreateResponse {

    @JsonProperty("status")
    private String status;
    @JsonProperty("errorCode")
    private Object errorCode;
    @JsonProperty("errorMsg")
    private Object errorMsg;
    @JsonProperty("content")
    private ContentDTO content;
    @JsonProperty("success")
    private Boolean success;

    @NoArgsConstructor
    @Data
    public static class ContentDTO {
        @JsonProperty("orderCode")
        private String orderCode;
        @JsonProperty("writeOffStatus")
        private Integer writeOffStatus;
        @JsonProperty("writeOffQrCode")
        private Object writeOffQrCode;
    }
}
